import http from "../index"
import {loginParams} from "../../../typings/types/my/loginParams"

let api_name="/api";
/**
 * 登陆
 * @param params 登陆参数
 * @returns 
 */

export function login(params:loginParams){
  return http.get("/user/login",params);
}